import fetch from '@/utils/fetch'

var qs = require('qs')

export function UpdateUserRole(userId, roleIdList) {
  return fetch({
    url: '/userRole/updateUserRole',
    method: 'post',
    data: JSON.stringify({ userId, roleIdList }),
    headers: { 'Content-Type': 'application/json;charset=UTF-8' }

  })
}

